Output

By default, plots are displayed to the standard output. The set output command redirects the display to the specified file or device.

Syntax:

        set output {"<filename>"}
        show output

The filename must be enclosed in quotes. If the filename is omitted, output will be sent to the standard output.

On machines with popen functions (UNIX), output can be piped through a shell command if the first letter of the filename is '|'. For instance,

Syntax:

        set output "|lpr -Plaser filename"
        set output "|lp -dlaser filename"

(On MSDOS machines, set output ``prn'' will direct the output to the default printer.)